<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>乘法口诀表</title>
</head>

<body>

</body>
<script>
    for (var a = 1; a <= 9; a++) {
        for (var b = 1; b <= a; b++) {
            document.write(a + " * " + b + " = " + a * b); 
            document.write("&nbsp;&nbsp;&nbsp;&nbsp;")
        }
        document.write("<br>");
    }
</script>

</html>

